Skip to content

fix(swarm): poll handler after injecting LocalProtocolsChange event#3979

Merged
mergify[bot] merged 2 commits intomasterfrom
fix/connection-stalled
May 24, 2023
Merged

fix(swarm): poll handler after injecting LocalProtocolsChange event#3979
mergify[bot] merged 2 commits intomasterfrom
fix/connection-stalled

Conversation

@thomaseizinger
Copy link
Contributor

Description

Previously, we would not call the handler upon injecting ConnectionEvent::LocalProtocolsChange. This would prevent protocols from being able to react to this change and e.g. issue events or open streams.

Notes & open questions

I decided to not add a changelog entry because this is a bug-fix for a yet-to-be-released feature.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@thomaseizinger thomaseizinger requested a review from mxinden May 23, 2023 13:11
@thomaseizinger thomaseizinger added this to the v0.52.0 milestone May 23, 2023
Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

Yep, no changelog entry needed.

@mergify mergify bot merged commit a424310 into master May 24, 2023
@mergify mergify bot deleted the fix/connection-stalled branch May 24, 2023 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants